home *** CD-ROM | disk | FTP | other *** search
- /*
- About TXTMENU
-
- This program is to generate a txt-menu in DOS. It is mainly for users to
- develop their own txt-based menu. It reads the .cfg file to get the menu
- contents and return diffrerent value to indicate the select result.
- It has wonderful sound effect and some time counting facility. Besides,
- it includes all SOURCE CODE !
-
- To start it just type the exe file and the program will work.
-
- With SOURCE CODE , you can easily modify it for your own purpose.
- You can distribute the source code freely only together with this readme
- file. Since this is a shareware, you are required to register in order
- to use it in your own program. It will only cost you $50.
-
- However, if you do not like to pay so much, you can also pay as much as you
- wish to register. Just think the time and energe you will save by this
- program !
-
- After you register for this program, you will get permission to
- include the source code to your own program. Besides,you will also
- get more detailed comments of the source code and you can get answers
- from author about any programming problems without extra fee.
-
- Money and Check should mail to:
-
- Mr. Yongyong Xu,
- 1940 Howard Street. Apt. 333,
- Kalamazoo, MI 49008
- U.S.A.
-
- Telephone: (616) 387-7569
- EMail: yxu@cs.wmich.edu (prefered)
- or
- 99xu1@grog.lab.cc.wmich.edu
-
- When you cannot reach me by the above address, try the next:
- -----------------------------------------------------------------------
- <Permanet Home Address>
-
- Mr. Xu Yongyong,
- Building 34 Room 604,
- HuayuanXinCun , Chang Zhou
- Jiang Su Province 213016
- P.R.China
-
- Tel:(86)-(519)-(328-0177)
-
-
- */
- #ifndef __TTTMAIN_H
- #define __TTTMAIN_H
-
- #define MAXSCENE 3
-
- #ifdef __YYXMAIN
- int scene =0;
- int (* key_press_handler ) (int key );
- void (* init ) ( );
- #else
- extern int scene;
- extern int (* key_press_handler ) (int key );
- extern void (* init ) ( );
-
- #endif
-
-
- void calcresults ();
-
- int main_key_press_handler (int key);
- void main_init ();
- int main(int argc,char *argv[]);
-
- #endif
-
-